package com.yugu.park.dto;

import java.math.BigDecimal;
import java.sql.Time;

import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class FranchiseeRulesDto {
	@ApiModelProperty(value = "代理商id")
	private String franchiseeId;
	@ApiModelProperty(value = "代理商名称")
	private String franchiseeName;
	@ApiModelProperty(value = "开始时间")
	@JsonFormat(pattern = "HH:mm:ss")
	@DateTimeFormat(value = "HH:mm:ss")
	private Time startTime;
	/**
	 * 结束时间
	 */
	@JsonFormat(pattern = "HH:mm:ss")
	@DateTimeFormat(value = "HH:mm:ss")
	@ApiModelProperty(value = "结束时间")
	private Time endTime;
	
	/**
	 * 费用(元)
	 */
	@ApiModelProperty(value = "起步分钟数")
	private BigDecimal startingTime;
	@ApiModelProperty(value = "起步公里数")
	private BigDecimal startingKilo;
	@ApiModelProperty(value = "起步价(元)")
	private BigDecimal fee;
	@ApiModelProperty(value = "超出起步价每分钟费用(元)")
	private BigDecimal timeFee;
	@ApiModelProperty(value = "超出起步价每公里费用(元)")
	private BigDecimal kilometerFee;
	@ApiModelProperty(value = "扣除司机百分比")
	private BigDecimal driverRate;
	

}
